package com.coda.entity;

import com.coda.enumeration.ItemType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

@Schema(description = "图片信息表")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class GraphInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "图片名称")
    private String name;

    @Schema(description = "图片所属对象类型")
    private Integer itemType;

    @Schema(description = "图片所有对象id")
    private Long itemId;

    @Schema(description = "图片地址")
    private String url;

}